<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ADMIN</title>
    <link rel="stylesheet" href="/static/CSS/admin.css">
    <script src="/static/JS/admin.js"></script>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
          integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">

</head>

<body>
<nav class="navbar navbar-dark bg-dark">
    <ul class="left">
        <li><a href="">主页</a></li>
        <li><a href="/admin/">管理用户</a></li>
        <li><a href="/adminYacht/">管理游艇</a></li>
        <li><a href="/adminRecords/">租赁记录</a></li>
    </ul>
    <ul class="right" id="right">
        <li id="adminname"></li>
        <button type="button" onclick="logout()" class="btn btn-warning">登出</button>
    </ul>
</nav>
<h1>管理用户</h1>
<button type="button" onclick="window.location.href='/addUser/'" class="btn btn-primary">添加用户</button>
<table class="table table-hover">
    <thead>
    <tr>
        <th>用户名</th>
        <th>密码</th>
        <th>email</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody class="userinfo" id="userinfo">

    </tbody>
</table>
</body>

</html>